﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sahit.iSoilHotel.Domain.MainBoundedContext.Tavern.Aggregates.RecordAgg;
using Sahit.iSoilHotel.Domain.MainBoundedContext.Tavern.Aggregates.PriceAgg;

namespace Sahit.iSoilHotel.Domain.MainBoundedContext.Tavern.Services
{
    /// <summary>
    /// Add/Update Record
    /// Add/Update Customer
    /// Update Room Status
    /// Record Price and PriceCode
    /// </summary>
    public class CheckInService:ICheckInService
    {

        public void CheckIn(Record record)
        {
            record.Room.CheckIn();
            record.Status = RecordStatus.CheckIn;
        }
    }
}
